/*=====================================================================
@Default Styles

Table of Content:
01/ Variables
02/ predefin
03/ header
04/ button
05/ banner
06/ breadcrumb
07/ about
08/ team
09/ project 
10/ price 
11/ team 
12/ blog 
13/ video  
14/ features  
15/ career  
16/ contact 
17/ footer

=====================================================================*/

/*----------------------------------------------------*/

/*font Variables*/

/*Color Variables*/

/*=================== fonts ====================*/

@import url("https://fonts.googleapis.com/css?family=Heebo:300,400,500,700|Roboto:300,400,500,700");

/*---------------------------------------------------- */

/*----------------------------------------------------*/
/* Enable snapping on the container */
html {
    scroll-snap-type: y proximity; /* 'proximity' is gentler than 'mandatory' */
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Sections that SHOULD snap */
.home_banner_area, 
.sector_area,
.key_facts_area, 
.footer_area {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* The Services area - Disable snapping here */
.services_area {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}
.list {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

.row.m0 {
    margin: 0px;
}

body {
    line-height: 24px;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    color: #777777;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Heebo", sans-serif;
    font-weight: bold;
}

button:focus {
    outline: none;
    box-shadow: none;
}

.p_120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.pad_top {
    padding-top: 120px;
}

.mt-25 {
    margin-top: 25px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* Main Title Area css
============================================================================================ */

.main_title {
    text-align: center;
    margin-bottom: 75px;
}

.main_title h2 {
    font-family: "Heebo", sans-serif;
    font-size: 36px;
    color: #222222;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main_title p {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    line-height: 24px;
    color: #777777;
    margin-bottom: 0px;
    max-width: 740px;
    margin: auto;
}

.main_title.white h2 {
    color: #fff;
}

.main_title.white p {
    color: #fff;
    opacity: .6;
}

/* End Main Title Area css
============================================================================================ */

/*---------------------------------------------------- */

/*----------------------------------------------------*/

/* --- 1. Main Header Layout --- */
.header_area {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    transition: background 0.4s, all 0.3s linear;
}

.header_area .navbar {
    background: transparent;
    padding: 0px;
    border: 0px;
    border-radius: 0px;
}

/* --- 2. Fixed Navbar Brand (Logo + Text Container) --- */

/* Base Image Rules - Forces Side-by-Side instead of overlapping */
.navbar-brand img {
    position: relative !important; 
    height: auto;
    transition: all 0.3s ease;
    transform: translateY(1px);
}

/* ==========================================================
   OM SAI ENTERPRISES - FINAL POLISHED & FUNCTIONAL HEADER
   ========================================================== */

/* --- 1. GLOBAL HEADER BASE --- */
.header_area {
    width: 100% !important;
    z-index: 99999 !important;
    transition: all 0.3s ease-in-out;
}

/* --- 2. MOBILE RESPONSIVE FIX (0px to 991px) --- */
@media (max-width: 991px) {
    .header_area {
        background: #ffffff !important;
        position: fixed !important;
        top: 0 !important;
        box-shadow: 0px 3px 10px rgba(0,0,0,0.1) !important;
        padding: 10px 0 !important;
    }

    /* Fix the weird logo/text alignment on mobile */
    .navbar-brand {
        display: flex !important;
        align-items: center !important;
        height: auto !important;
    }

    /* Force the Color/Dark Branding */
    .navbar-brand img:nth-child(1), 
    .logo-text { display: none !important; }

    .navbar-brand img:nth-child(2), 
    .logo-text-scroll {
        display: inline-block !important;
        color: #222222 !important;
        font-size: 16px !important; /* Proper mobile font size */
        font-weight: 700 !important;
    }

    /* The Hamburger Menu Button */
    .navbar-toggler {
        border: none !important;
        padding: 0 !important;
        margin-top: 5px;
    }

    .navbar-toggler .icon-bar {
        background: #222222 !important;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        margin: 4px 0;
    }

    /* Push site down so it doesn't look 'stuck' behind the bar */
    body { padding-top: 70px !important; }
}

/* --- 3. DESKTOP LOGIC (992px and up) --- */
@media (min-width: 992px) {
    /* SCROLLED STATE */
    .header_area.navbar_fixed {
        position: fixed !important;
        top: 0 !important;
        background: #ffffff !important;
        box-shadow: 0px 3px 15px rgba(0,0,0,0.1) !important;
    }

    /* TOP STATE (Transparent) */
    .header_area:not(.navbar_fixed) {
        background: transparent !important;
        position: absolute !important;
    }

    /* BRANDING TOGGLE */
    .header_area:not(.navbar_fixed) .navbar-brand img:nth-child(1),
    .header_area:not(.navbar_fixed) .logo-text {
        display: inline-block !important;
        color: #ffffff !important;
    }
    .header_area:not(.navbar_fixed) .navbar-brand img:nth-child(2),
    .header_area:not(.navbar_fixed) .logo-text-scroll {
        display: none !important;
    }

    .header_area.navbar_fixed .navbar-brand img:nth-child(1),
    .header_area.navbar_fixed .logo-text {
        display: none !important;
    }
    .header_area.navbar_fixed .navbar-brand img:nth-child(2),
    .header_area.navbar_fixed .logo-text-scroll {
        display: inline-block !important;
        color: #222222 !important;
    }

    /* RESTORE NAV LINK STYLING */
    .navbar .nav .nav-item {
        margin-right: 35px;
    }

    .navbar .nav .nav-item .nav-link {
        font-family: "Heebo", sans-serif;
        text-transform: uppercase;
        font-weight: 500;
        font-size: 13px;
        padding: 30px 0; /* Vertical centering */
        transition: color 0.3s;
    }

    /* White text at top, Dark text on scroll */
    .header_area:not(.navbar_fixed) .nav-link { color: #ffffff !important; }
    .header_area.navbar_fixed .nav-link { color: #222222 !important; }
    
    .nav-link:hover { color: #faba00 !important; }
}
/*---------------------------------------------------- */

/*----------------------------------------------------*/

/* Home Banner Area css
============================================================================================ */

.home_banner_area {
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../img/banner/hero\ section\ options.jpg) no-repeat center center;
    background-size: cover;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
}

.home_banner_area .banner_inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.home_banner_area .banner_inner .col-lg-8 {
    vertical-align: middle;
    align-self: center;
}

.home_banner_area .banner_inner .banner_content {
    text-align: left;
    color: #fff;
}

.home_banner_area .banner_inner .banner_content h2 {
    margin-top: 0px;
    font-size: 36px;
    font-weight: bold;
    font-family: "Heebo", sans-serif;
    line-height: 47px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.home_banner_area .banner_inner .banner_content p {
    color: #fff;
    font-family: "Roboto", sans-serif;
    margin-bottom: 35px;
    max-width: 555px;
}

.home_banner_area .banner_inner .banner_content .banner_btn {
    margin-right: 0px;
}

/* --- UPDATED HOME RIGHT BOX (OM SAI ENTERPRISES) --- */

/*================ Home Banner Right Box - Final Polished Version =================*/

/*================ Home Banner Right Box - Final Polished Version =================*/

/*================ Home Banner Right Box - Final Polished Fix =================*/

.home_banner_area .home_right_box {
    background: rgba(255, 255, 255, 0.12);
    
    /* 1. INCREASED HEIGHT: Added more vertical padding (top and bottom) */
    padding: 60px 30px !important; 
    
    /* 2. POSITION FIX: Reduced from 180px to 100px to shift it UP */
    margin-top: 100px !important; 
    
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    display: grid !important;
    grid-template-columns: 1fr 1fr; 
    column-gap: 20px;
    row-gap: 20px;
    overflow: visible !important;
}

.home_banner_area .home_right_box .home_item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    text-decoration: none !important;
    /* RESTORED compact height for the sleek look */
    height: 117px; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    
    /* KEEPING THE FIX: This prevents clipping */
    width: calc(100% - 10px) !important;
    margin: 0 auto !important;
    overflow: visible !important; 
}

/* Icons Styling - Centered */
.home_banner_area .home_right_box .home_item i {
    font-size: 34px !important;
    color: #ffffff;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0px transparent);
    /* Keeps it perfectly centered until hover */
    transform: translateY(0); 
}

/* Text Styling - Hidden behind icon initially */
.home_banner_area .home_right_box .home_item span {
    display: block;
    color: #faba00;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    bottom: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

/* --- THE HOVER FIX --- */

.home_banner_area .home_right_box .home_item:hover {
    background: rgba(255, 255, 255, 0.18);
    /* Safe Box-Shadow Border */
    box-shadow: 0 0 0 2px #faba00, 0 10px 20px rgba(0,0,0,0.2);
    border-color: transparent !important;
    transform: translateY(-5px);
    z-index: 100;
}

.home_banner_area .home_right_box .home_item:hover i {
    color: #faba00;
    filter: drop-shadow(0 0 8px rgba(250, 186, 0, 0.7));
    /* Move icon up slightly to make room for text */
    transform: translateY(-15px); 
}

.home_banner_area .home_right_box .home_item:hover span {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Template Reset */
.home_banner_area .home_right_box .home_item:nth-child(n) {
    max-width: 100% !important;
    border-right: 0 !important;
}

.blog_banner {
    min-height: 780px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-bottom: 0px;
}

.blog_banner .banner_inner {
    background: #04091e;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 780px;
    z-index: 1;
}

.blog_banner .banner_inner .overlay {
    background: url(../img/banner/banner-2.jpg) no-repeat scroll center center;
    opacity: .5;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: -1;
}

.blog_banner .banner_inner .blog_b_text {
    max-width: 700px;
    margin: auto;
    color: #fff;
    margin-top: 40px;
}

.blog_banner .banner_inner .blog_b_text h2 {
    font-size: 60px;
    font-weight: bold;
    line-height: 66px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.blog_banner .banner_inner .blog_b_text p {
    font-size: 16px;
    margin-bottom: 35px;
}

.blog_banner .banner_inner .blog_b_text .white_bg_btn {
    line-height: 42px;
    padding: 0px 45px;
}

.banner_area {
    position: relative;
    z-index: 1;
    min-height: 430px;
}

.banner_area .banner_inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 430px;
    background: #000;
    z-index: 1;
}

.banner_area .banner_inner .overlay {
    background: url(../img/banner/banner.jpg) no-repeat scroll center center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    bottom: 0;
    z-index: -1;
    opacity: .40;
}

.banner_area .banner_inner .banner_content {
    margin-top: 70px;
}

.banner_area .banner_inner .banner_content h2 {
    color: #fff;
    font-size: 48px;
    font-family: "Heebo", sans-serif;
    margin-bottom: 0px;
    text-transform: uppercase;
    font-weight: bold;  
}

.banner_area .banner_inner .banner_content .page_link a {
    font-size: 14px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    margin-right: 32px;
    position: relative;
}

.banner_area .banner_inner .banner_content .page_link a:before {
    content: "\e87a";
    font-family: 'Linearicons-Free';
    font-size: 14px;
    position: absolute;
    right: -25px;
    top: 54%;
    transform: translateY(-50%);
}

.banner_area .banner_inner .banner_content .page_link a:last-child {
    margin-right: 0px;
}

.banner_area .banner_inner .banner_content .page_link a:last-child:before {
    display: none;
}


/* End Home Banner Area css
============================================================================================ */

/*---------------------------------------------------- */

/*================ Service Area Clean Version =================*/

.services_area {
    background: #fdfdfd;
    padding: 100px 0; 
}

/* This is the secret to the vertical gap: We target the Bootstrap Column */
.services_area .col-lg-4, 
.services_area .col-md-6 {
    padding-top: 15px;
    padding-bottom: 15px;
}

.service_item {
    position: relative;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    
    /* Forces the card to fill the column while respecting the padding above */
    height: 100%; 
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.service_item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: all 0.4s ease;
}

.service_item h4 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    padding: 20px 20px 10px;
    margin: 0;
    transition: color 0.3s ease;
}

.service_item p {
    font-size: 15px;
    color: #666;
    padding: 0 20px 25px;
    line-height: 1.6;
    margin: 0;
}

/* --- Clean Hover Effects (No Overlays) --- */

.service_item:hover {
    transform: translateY(-10px); 
    border-color: #faba00; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service_item:hover img {
    filter: grayscale(0%); 
    transform: scale(1.05);
}

.service_item:hover h4 {
    color: #faba00; 
}

/*================ End Service Area css =================*/


/*--=========================== Sector Area ==========================*/

/*================ 1. Section Container ================*/
.sector_area {
    background: #ffffff;
    padding: 15px 0 0 !important; /* Shaved for 1-scroll fit */
}

/*================ 2. Main Title ================*/
.sector_main_title {
    text-align: center;
    padding-bottom: 10px;
}

/*================ 3. The Row (SIDE-BY-SIDE FIX) ================*/
.sector_area .row {
    display: flex !important;
    flex-direction: row !important; /* FORCES side-by-side */
    flex-wrap: nowrap !important; /* Prevents stacking on desktop */
    justify-content: center !important;
    gap: 30px !important; 
    margin: 0 auto !important;
    max-width: 1140px;
    padding: 0 !important; /* Strips Bootstrap padding that pushes boxes left */
}

/*================ 4. The Sector Card ================*/
.sector_item {
    flex: 1 !important; /* Forces equal width */
    height: 275px !important; 
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
    
    /* Centering the dark box inside */
    display: flex !important;
    align-items: center !important; 
    justify-content: center !important;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
}

.commercial { background-image: url('/img/Sectors/commerical.jpg') !important; }
.residential { background-image: url('/img/Sectors/residential.jpg') !important; }

/*================ 5. Hover Overlay (RESTORED EFFECTS) ================*/
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    transition: all 0.4s ease-in-out !important;
    z-index: 1;
}

.commercial:hover .overlay { background: rgba(250, 186, 0, 0.8) !important; }
.residential:hover .overlay { background: rgba(166, 124, 131, 0.9) !important; }

/*================ 6. THE CONTENT BOX (THE SYMMETRY LOCK) ================*/
.sector_content {
    position: relative;
    z-index: 10;
    width: 90% !important; /* Equal gaps on left and right */
    height: 195px !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    
    /* THE FIX: Forced zero margins to stop the left-lean */
    margin: 0 auto !important; 
}

/*================ 7. Text & Icons ================*/
.sector_content i { font-size: 32px; margin-bottom: 8px; color: #faba00; }
.sector_content h2 { font-size: 19px !important; font-weight: 800; color: #fff !important; margin-bottom: 5px !important; }
.sector_content p { font-size: 13px; color: #fff; margin: 0 !important; line-height: 1.4; }

/*================ 8. Mobile ================*/
@media (max-width: 991px) {
    .sector_area .row {
        flex-direction: column !important; /* Stacks on mobile only */
        gap: 20px !important;
    }
    .sector_item { width: 100% !important; height: 250px !important; }
}

/*End of Sector Area css
======================================================================================*/

/* Key Facts Area css ===================================*/

/*================ KEY FACTS SECTION =================*/
/*================ KEY FACTS - FLOATING GLOW VERSION =================*/
.key_facts_area {
    padding: 40px 0 60px !important;
    background: #fcfcfc; /* Or keep it slightly off-white #fcfcfc */
    position: relative;
    padding-bottom: 20px !important;
}

.fact_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.fact_item {
    background: transparent; /* Removed the solid box */
    padding: 10px !important;
    border-radius: 20px;
    text-align: center;
    border: 1px solid transparent; /* Hidden until hover */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    cursor: pointer;
}

/* THE GLOW EFFECT: This creates a soft light behind the number on hover */
.fact_item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0%;
    height: 0%;
    background: radial-gradient(circle, rgba(250, 186, 0, 0.15) 0%, rgba(250, 186, 0, 0) 70%);
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 50%;
}

.fact_item:hover::before {
    width: 150%;
    height: 150%;
}

.fact_item:hover {
    transform: translateY(-5px);
    /* Optional: subtle border to define the space */
    border: 1px solid rgba(250, 186, 0, 0.1); 
}

.fact_item h3 {
    font-size: 42px !important;
    color: #222;
    margin-bottom: 0;
    font-weight: 800;
    transition: all 0.3s ease;
}

.fact_item h3 span {
    color: #faba00;
}

/* Number glows on hover */
.fact_item:hover h3 {
    color: #000;
    text-shadow: 0 0 20px rgba(250, 186, 0, 0.4);
}

.fact_item p {
    font-size: 11px !important;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    margin-top: 10px;
}

.fact_item small {
    display: block;
    color: #999;
    font-size: 11px;
    margin-top: 5px;
    line-height: 1.5;
}

/*===================== End of Key facts area ========================*/

/*========================= Past Projects area =========================*/

/*================ 1. Project Section Grid ================*/
.projects_area {
    padding-top: 40px !important;
    background: #f9f9f9;
}

.project_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
    gap: 20px;
    margin-top: 30px;
}

.project_card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.3s ease;
}

.project_card:hover { transform: translateY(-8px); }

.project_img { 
    width: 100%;
    aspect-ratio: 3 / 2; /* Forces a standard professional landscape shape */
    overflow: hidden;    /* Clips any part of the image that doesn't fit */
    position: relative; 
}

.project_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;   /* This is the "magic" line: it fills the box without stretching */
    display: block;
}
.placeholder_text { height: 100%; display: flex; align-items: center; justify-content: center; color: #777; font-weight: bold; }

.project_overlay {
    position: absolute; inset: 0; background: rgba(250, 186, 0, 0.9);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}

.project_card:hover .project_overlay { opacity: 1; }
.project_overlay span { color: #fff; font-weight: bold; border: 2px solid #fff; padding: 6px 15px; text-transform: uppercase; }

.project_info { padding: 15px; text-align: center; }
.project_info h3 { font-size: 16px; margin: 0; color: #333; }
.project_info p { font-size: 13px; color: #777; margin: 5px 0 0; }

/*================ MODAL BOX (RECTANGULAR & ZOOMED OUT) ================*/
.project_modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); z-index: 10000;
    display: none; justify-content: center; align-items: center; padding: 20px;
}

.modal_box {
    background: #ffffff;
    width: 95%;
    max-width: 1000px;
    border: 3px solid #faba00; /* Signature Yellow Border */
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal_grid { display: flex; flex-direction: row; }

/* Left Side */
.modal_gallery {
    flex: 1.2;
    padding: 20px;
    background: #f9f9f9;
    border-right: 1px solid #eee;
}

.modal_gallery img#mainModalImg {
    width: 100%;
    height: 320px;
    object-fit: contain; /* Prevents zooming/cropping */
    background: #fff;
    border-radius: 6px;
}

.thumb_container {
    display: flex; gap: 8px; margin-top: 15px; overflow-x: auto; padding-bottom: 5px;
}

.modal-thumb {
    width: 65px; height: 48px; object-fit: cover;
    cursor: pointer; border-radius: 4px; border: 2px solid transparent; transition: 0.2s;
}
.modal-thumb:hover { border-color: #faba00; }

/* Right Side */
.modal_info { flex: 1; padding: 30px; }
.modal_info h2 { color: #333; font-size: 24px; margin-bottom: 15px; }

.spec_list p { font-size: 14px; margin-bottom: 10px; color: #555; }
.spec_list strong { color: #faba00; width: 100px; display: inline-block; }

.scope_section { margin-top: 20px; padding-top: 20px; border-top: 1px solid #eee; }
.scope_section h4 { color: #faba00; font-size: 14px; margin-bottom: 10px; text-transform: uppercase; }
.scope_section p { font-size: 14px; line-height: 1.6; color: #444; }

.close_modal {
    position: absolute; top: 15px; right: 20px;
    font-size: 30px; color: #333; cursor: pointer; z-index: 10;
}

/* Mobile Fix */
@media (max-width: 850px) {
    .modal_grid { flex-direction: column; }
    .modal_box { max-height: 90vh; overflow-y: auto; }
}


/*=============== End of Past Projects Area ======================*/

/*=============== Upcoming projects area ========================*/

.upcoming_projects_area {
    padding: 70px 0;
    background: #ffffff;
}

.upcoming_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Forces 3 columns */
    gap: 30px;
    margin-top: 40px;
}

.upcoming_card_flat {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s ease;
}

.upcoming_img_box {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    border-radius: 10px; /* Rounds the image corners */
    overflow: hidden;
}

.upcoming_img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Optional: Slight zoom on hover for a premium feel */
.upcoming_card_flat:hover img {
    transform: scale(1.05);
}

.status_label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #faba00;
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
}

.upcoming_meta {
    padding: 15px 5px;
    text-align: left;
}

.upcoming_meta h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.upcoming_meta p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.upcoming_meta p i {
    color: #faba00; /* Yellow icon for location */
    margin-right: 5px;
}

/* Responsive Logic */
@media (max-width: 991px) {
    .upcoming_grid { grid-template-columns: 1fr 1fr; } /* 2 columns on tablet */
}
@media (max-width: 600px) {
    .upcoming_grid { grid-template-columns: 1fr; } /* 1 column on mobile */
}

/*================= End of upcoming projects area ================*/

/*===================== About business and owner area =====================*/

.about_section {
    padding: 70px 0;
    background: #fdfdfd;
}

.business_description {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.mission_text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-top: 25px;
}

/* OWNER CARD DESIGN */
.owner_profile_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.owner_grid {
    display: flex;
    align-items: center;
}

.owner_photo_box {
    flex: 0 0 350px;
    background: #faba00; /* Yellow background for the photo area */
    padding: 20px;
}

.photo_frame img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
}

.owner_details {
    flex: 1;
    padding: 50px;
}

.owner_tag {
    color: #faba00;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
}

.owner_details h3 {
    font-size: 28px;
    margin: 10px 0;
    color: #222;
}

.owner_meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
}

.owner_quote {
    font-style: italic;
    font-size: 18px;
    color: #444;
    border-left: 4px solid #faba00;
    padding-left: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.owner_bio {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Responsive Mobile View */
@media (max-width: 991px) {
    .owner_grid { flex-direction: column; }
    .owner_photo_box { flex: 0 0 100%; width: 100%; }
    .owner_details { padding: 30px; }
}

/* ONLY for the About Section */
#about_section .sector_main_title {
    margin-bottom: 20px !important;
}

#about_section .sector_main_title h2 {
    margin-bottom: 5px !important;
}

/* ONLY for the Sector Section (if you want it different) */
#sector_section_id .sector_main_title {
    margin-bottom: 50px !important; 
}

/* UNIFY "BUILDING WITH INTEGRITY" HEADING */
.about_section .sector_main_title h2 {
    color: #222222 !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
    letter-spacing: 1px;
}

/* Ensure the mission text matches the other section descriptions */
.about_section .mission_text {
    color: #777777 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    max-width: 800px;
    margin-bottom: 40px;
}

/* Mobile scaling for the About heading */
@media (max-width: 991px) {
    .about_section .sector_main_title h2 {
        font-size: 28px !important;
    }
}

/*====================== End of about business and owner area ===========================*/
/*============== contact_area css ================*/

.mapBox {
    height: 420px;
    margin-bottom: 80px;
}

.contact_info .info_item {
    position: relative;
    padding-left: 45px;
}

.contact_info .info_item i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: 24px;
    color: #faba00;
    font-weight: 600;
}

.contact_info .info_item h6 {
    font-size: 16px;
    line-height: 24px;
    color: "Roboto", sans-serif;
    font-weight: bold;
    margin-bottom: 0px;
    color: #222222;
}

.contact_info .info_item h6 a {
    color: #222222;
}

.contact_info .info_item p {
    font-size: 14px;
    line-height: 24px;
    padding: 2px 0px;
}

.contact_form .form-group {
    margin-bottom: 10px;
}

.contact_form .form-group .form-control {
    font-size: 13px;
    line-height: 26px;
    color: #999;
    border: 1px solid #eeeeee;
    font-family: "Roboto", sans-serif;
    border-radius: 0px;
    padding-left: 20px;
}

.contact_form .form-group .form-control:focus {
    box-shadow: none;
    outline: none;
}

.contact_form .form-group .form-control.placeholder {
    color: #999;
}

.contact_form .form-group .form-control:-moz-placeholder {
    color: #999;
}

.contact_form .form-group .form-control::-moz-placeholder {
    color: #999;
}

.contact_form .form-group .form-control::-webkit-input-placeholder {
    color: #999;
}

.contact_form .form-group textarea {
    resize: none;
}

.contact_form .form-group textarea.form-control {
    height: 140px;
}

.contact_form .submit_btn {
    margin-top: 20px;
    cursor: pointer;
}

/* Contact Success and error Area css
============================================================================================ */

.modal-message .modal-dialog {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) !important;
    margin: 0px;
    max-width: 500px;
    width: 100%;
}

.modal-message .modal-dialog .modal-content .modal-header {
    text-align: center;
    display: block;
    border-bottom: none;
    padding-top: 50px;
    padding-bottom: 50px;
}

.modal-message .modal-dialog .modal-content .modal-header .close {
    position: absolute;
    right: -15px;
    top: -15px;
    padding: 0px;
    color: #fff;
    opacity: 1;
    cursor: pointer;
}

.modal-message .modal-dialog .modal-content .modal-header h2 {
    display: block;
    text-align: center;
    color: #faba00;
    padding-bottom: 10px;
    font-family: "Roboto", sans-serif;
}

.modal-message .modal-dialog .modal-content .modal-header p {
    display: block;
}

/* End Contact Success and error Area css
============================================================================================ */

/*---------------------------------------------------- */

/*----------------------------------------------------*/

/*=====================================================================
  CLEANED ELEMENTS & TYPOGRAPHY
  Kept: Structural spacing, Typography, Lists, and Text Inputs.
  Removed: Swatches, Radio Buttons, and unused UI generic colors.
=====================================================================*/

/* --- Structural Spacing --- */
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }

.section-top-border {
    padding: 50px 0;
    border-top: 1px dotted #eee;
}

/* --- Professional Typography --- */
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.sample-text-area { padding: 80px 0; }
.sample-text-area p { line-height: 26px; margin-bottom: 15px; }

/* Use the signature yellow for text highlights */
b, sup, sub, u, del, .sample-text-area p b {
    color: #faba00; 
    font-weight: bold;
}

/* --- Official Blockquotes & Lists --- */
.generic-blockquote {
    padding: 30px 50px 30px 30px;
    background: #f9f9ff;
    border-left: 3px solid #faba00;
    font-style: italic;
    line-height: 1.8;
}

.unordered-list li {
    position: relative;
    padding-left: 30px;
    line-height: 1.82em;
    margin-bottom: 10px;
}

.unordered-list li:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #faba00;
    background: #fff;
    top: 7px;
    left: 0;
    border-radius: 50%;
}

.ordered-list li {
    list-style-type: decimal-leading-zero;
    color: #faba00;
    font-weight: 500;
    margin-left: 30px;
    padding-left: 10px;
}

.ordered-list li span {
    font-weight: 400;
    color: #777;
}

/* --- Form Elements (For Contact Inquiry) --- */
.single-input, .single-textarea {
    display: block;
    width: 100%;
    line-height: 40px;
    border: 1px solid #eee;
    outline: none;
    background: #f9f9ff;
    padding: 10px 20px;
    transition: 0.3s;
}

.single-textarea { height: 120px; resize: vertical; }

.single-input:focus, .single-textarea:focus {
    border-color: #faba00;
    background: #fff;
}

/* --- Clean Corporate Button --- */
.genric-btn.primary {
    color: #000;
    background: #faba00;
    border: 1px solid transparent;
    padding: 0 35px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 45px;
    display: inline-block;
}

.genric-btn.primary:hover {
    background: #000;
    color: #faba00;
    border-color: #000;
}

/*----------------------------------------------------*/

/* Main Button Area css
============================================================================================ */

.main_btn {
    display: inline-block;
    background: #faba00;
    padding: 0px 35px;
    color: #fff;
    font-family: "Heebo", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 38px;
    border: 1px solid #faba00;
    border-radius: 0px;
    outline: none !important;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
    transition: all 300ms linear 0s;
    text-transform: uppercase;
}

.main_btn:hover {
    background: transparent;
    color: #faba00;
}

.submit_btn {
    width: auto;
    display: inline-block;
    background: #faba00;
    padding: 0px 50px;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 50px;
    border: 1px solid #faba00;
    border-radius: 5px;
    outline: none !important;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
    transition: all 300ms linear 0s;
}

.submit_btn:hover {
    background: transparent;
    color: #faba00;
}

.banner_btn {
    display: inline-block;
    background: #faba00;
    color: #fff;
    font-family: "Roboto", sans-serif;
    width: 148px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #faba00;
    line-height: 48px;
    border-radius: 3px;
    outline: none !important;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
    transition: all 300ms linear 0s;
}

.banner_btn:hover {
    background: transparent;
    color: #faba00;
}

.white_bg_btn {
    background: #fff;
    display: inline-block;
    color: #222222;
    line-height: 40px;
    padding: 0px 28px;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 300ms linear 0s;
    border: none;
}

.white_bg_btn:hover {
    background: #faba00;
    color: #fff;
}

.blog_btn {
    border: 1px solid #eeeeee;
    background: #f9f9ff;
    padding: 0px 32px;
    font-size: 13px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    color: #222222;
    line-height: 34px;
    display: inline-block;
}

.blog_btn:hover {
    background: #faba00;
    border-color: #faba00;
    color: #fff;
}

/* End Main Button Area css
============================================================================================ */



/* Feature Area css
============================================================================================ */

.feature_inner {
    margin-bottom: -30px;
}

.feature_item {
    background: #f9f9ff;
    border-radius: 10px;
    padding: 40px 60px 40px 40px;
    margin-bottom: 30px;
    transition: all 300ms linear 0s;
}

.feature_item h4 {
    font-size: 18px;
    color: #222222;
    margin-bottom: 20px;
    text-transform: uppercase;
    transition: all 300ms linear 0s;
    position: relative;
    padding-left: 35px;
}

.feature_item h4 i {
    font-size: 24px;
    padding-right: 15px;
    font-weight: 600;
    position: absolute;
    left: 0px;
    top: 40%;
    transform: translateY(-50%);
}

.feature_item p {
    margin-bottom: 0px;
}

.feature_item:hover {
    background: #fff;
    box-shadow: 0px 5px 30px 0px rgba(0, 0, 0, 0.1);
}

.feature_item:hover h4 {
    color: #faba00;
}

/* End Feature Area css
============================================================================================ */

/* Looking Area css
============================================================================================ */

.impress_area {
    background: url(../img/notify-bg.jpg) no-repeat scroll center center;
    background-size: cover;
}

.impress_area .impress_inner {
    color: #fff;
}

.impress_area .impress_inner h2 {
    text-transform: uppercase;
    font-size: 36px;
    margin-bottom: 15px;
}

.impress_area .impress_inner p {
    max-width: 530px;
    margin: 0px auto 35px;
}

/* End Looking Area css
============================================================================================ */

/* About Area css
============================================================================================ */

.about_area .about_inner .col-lg-6 {
    vertical-align: middle;
    align-self: center;
}

.about_area .about_inner .about_left_text h6 {
    font-size: 12px;
    text-transform: uppercase;
    color: #c6b069;
    font-family: "Roboto", sans-serif;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.about_area .about_inner .about_left_text h3 {
    font-size: 36px;
    line-height: 45px;
    color: #222222;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.about_area .about_inner .about_left_text h5 {
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    color: #222222;
    margin-bottom: 10px;
}

.about_area .about_inner .about_left_text p {
    margin-bottom: 0px;
}

.about_area .about_inner .about_left_text .main_btn {
    margin-top: 40px;
}

/* End About Area css
============================================================================================ */

/*---------------------------------------------------- */

/*----------------------------------------------------*/

/* Projects Area css
============================================================================================ */

.projects_item {
    position: relative;
    overflow: hidden;
}

.projects_item img {
    width: 100%;
}

.projects_item .hover {
    position: absolute;
    left: 0px;
    bottom: -100%;
    background: #faba00;
    width: 100%;
    padding: 36px;
    transition: all 400ms ease;
}

.projects_item .hover h4 {
    color: #222222;
    text-transform: uppercase;
    font-size: 18px;
}

.projects_item .hover p {
    color: #222222;
    max-width: 570px;
    margin-bottom: 0px;
}

.projects_item:hover .hover {
    bottom: 0px;
}

.wd_18 {
    flex: 0 0 18.23%;
    max-width: 18.23%;
}

.wd_44 {
    flex: 0 0 45.31%;
    max-width: 45.31%;
}

/* End Projects Area css
============================================================================================ */

/* Portfolio Details Area css
============================================================================================ */

.portfolio_details_inner .row {
    margin-bottom: 65px;
}

.portfolio_details_inner p {
    margin-bottom: 30px;
    font-size: 14px;
}

.portfolio_details_inner p:last-child {
    margin-bottom: 0px;
}

.portfolio_details_inner .portfolio_right_text {
    padding-left: 98px;
}

.portfolio_details_inner .portfolio_right_text h4 {
    color: #222222;
    font-size: 21px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.portfolio_details_inner .portfolio_right_text p {
    margin-bottom: 25px;
    font-size: 14px;
}

.portfolio_details_inner .portfolio_right_text .list li {
    margin-bottom: 7px;
    color: #777777;
    font-weight: normal;
    font-size: 14px;
}

.portfolio_details_inner .portfolio_right_text .list li span {
    font-size: 14px;
    color: #222222;
    font-weight: bold;
    width: 97px;
    display: inline-block;
}

.portfolio_details_inner .portfolio_right_text .list li:last-child {
    margin-bottom: 0px;
}

.portfolio_details_inner .portfolio_right_text .list li i {
    color: #f1cd09;
}

/* End Portfolio Details Area css
============================================================================================ */

/*---------------------------------------------------- */

/*----------------------------------------------------*/

/* Clients Logo Area css
============================================================================================ */

.clients_logo_area {
    background: #f9f9ff;
}

.clients_logo_area .clients_slider .item {
    text-align: center;
}

.clients_logo_area .clients_slider .item img {
    width: auto;
    text-align: center;
    display: block;
    margin: auto;
    line-height: 70px;
    opacity: .5;
    transition: all 300ms linear 0s;
}

.clients_logo_area .clients_slider .item:hover img {
    opacity: 1;
}

/* End Clients Logo Area css
============================================================================================ */

/*---------------------------------------------------- */

/*----------------------------------------------------*/

/* Footer Area css
============================================================================================ */

.footer_area {
    background: #222222;
}

.f_title {
    margin-bottom: 35px;
}

.f_title h3 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    font-family: "Heebo", sans-serif;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.ab_widget p {
    font-size: 14px;
    line-height: 24px;
    font-family: "Roboto", sans-serif;
    color: #777777;
    margin-bottom: 30px;
}

.ab_widget p a {
    color: #faba00;
}

.ab_widget p+p {
    margin-bottom: 0px;
}

.news_widget {
    padding-left: 15px;
}

.news_widget p {
    font-size: 14px;
    line-height: 24px;
    font-family: "Roboto", sans-serif;
    color: #777777;
    margin-bottom: 15px;
}

.news_widget .input-group input {
    height: 40px;
    background: #fff;
    border-radius: 0px;
    width: 80%;
    border: none;
    padding: 0px 15px;
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    color: #cccccc;
    outline: none;
    box-shadow: none;
}

.news_widget .input-group input.placeholder {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    color: #cccccc;
}

.news_widget .input-group input:-moz-placeholder {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    color: #cccccc;
}

.news_widget .input-group input::-moz-placeholder {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    color: #cccccc;
}

.news_widget .input-group input::-webkit-input-placeholder {
    font-size: 14px;
    font-family: "Roboto", sans-serif;
    font-weight: normal;
    color: #cccccc;
}

.news_widget .input-group .sub-btn {
    border-radius: 0px;
    background: #faba00;
    outline: none !important;
    box-shadow: none !important;
    padding: 0px;
    width: 42px;
    cursor: pointer;
    color: #fff;
}

.social_widget p {
    font-size: 14px;
    line-height: 24px;
    font-family: "Roboto", sans-serif;
    color: #777777;
    margin-bottom: 10px;
}

.social_widget .list li {
    margin-right: 17px;
    display: inline-block;
}

.social_widget .list li a {
    color: #cccccc;
    font-size: 14px;
    transition: all 300ms linear 0s;
}

.social_widget .list li:last-child {
    margin-right: 0px;
}

.social_widget .list li:hover a {
    color: #faba00;
}

/* End Footer Area css
============================================================================================ */

/*---------------------------------------------------- */

/*# sourceMappingURL=style.css.map */

/* --- High-end Service Highlight Animation --- */
@keyframes servicePulse {
    0% { 
        box-shadow: 0 0 0 0px rgba(250, 186, 0, 0.7); 
        transform: scale(1); 
    }
    50% { 
        box-shadow: 0 0 0 20px rgba(250, 186, 0, 0); 
        transform: scale(1.03); 
    }
    100% { 
        box-shadow: 0 0 0 0px rgba(250, 186, 0, 0); 
        transform: scale(1); 
    }
}

.highlight-service {
    border: 2px solid #faba00 !important;
    animation: servicePulse 1.5s ease-out;
    position: relative;
    z-index: 10;
    background-color: #ffffff; /* Ensures it stays visible during pulse */
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #faba00;
    color: #fff !important;
    border-radius: 50%;
    display: flex;             /* Centers the icon */
    align-items: center;       /* Centers the icon */
    justify-content: center;   /* Centers the icon */
    font-size: 20px;
    z-index: 999999 !important; /* Above everything */
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;                /* Hidden by default */
    visibility: hidden;
    text-decoration: none !important;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #222;
    transform: translateY(-5px);
}

/*=====================================================================
  PAPER THEME - CLEAN LABEL VERSION (NO GHOST BOXES)
=====================================================================*/

.client_carousel_area {
    /* The Paper Texture */
    background-color: #f4f4f4;
    background-image: url("https://www.transparenttextures.com/patterns/p6.png"); 
    padding: 30px 0 60px 0; /* Moves title UP */
    overflow: hidden;
    border-top: 1px solid #ddd;
    border-bottom: 5px solid #faba00;
    position: relative;
}

.client_title {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #222;
    text-align: center;
    margin-bottom: 5px;
}

.title_line {
    width: 40px;
    height: 4px;
    background: #faba00;
    margin: 0 auto 45px auto;
}

.logo_track {
    display: inline-block;
    white-space: nowrap;
    animation: scrollLogos 30s linear infinite;
}

.logo_item {
    display: inline-block;
    padding: 0 30px; /* Space between logos */
    vertical-align: middle;
}

/* THE MAGIC FIX: This treats each logo as a clean white label */
.logo_item img {
    height: 75px;        /* Large and clear */
    width: 210px;        /* Wide enough for L&T / Tharwani */
    object-fit: contain;
    background: transparent; /* No more white box! */
    
    /* Subtle filter to make them look like ink on paper */
    filter: grayscale(100%) contrast(1.2); 
    opacity: 0.7;
    transition: all 0.4s ease;
}

.logo_item img:hover {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.client_carousel_area:hover .logo_track {
    animation-play-state: paused;
}

/*=====================================================================
  BOOSTING THE MAJOR CORPORATE LOGOS
=====================================================================*/

/* 1. Target MGM, NMS, Godrej, and L&T specifically */
/* Adjust the numbers below if you change the order in HTML */

.logo_item:nth-child(1) img, /* MGM */
.logo_item:nth-child(2) img, /* NMS */
.logo_item:nth-child(3) img, /* Godrej */
.logo_item:nth-child(4) img  /* L&T */ {
    height: 95px !important;  /* Give them more vertical 'muscle' */
    transform: scale(1.2);    /* Overall size boost */
    opacity: 0.85;            /* Make them slightly more visible */
}

/* 2. Ensure the hover effect remains smooth for boosted logos */
.logo_item:nth-child(1):hover img,
.logo_item:nth-child(2):hover img,
.logo_item:nth-child(3):hover img,
.logo_item:nth-child(4):hover img {
    transform: scale(1.3);    /* Extra pop on hover */
    opacity: 1;
}

/* 3. Keep the wider logos (Tharwani, Omkar, Radcliffe) at a standard scale */
.logo_item:nth-child(5) img,
.logo_item:nth-child(6) img,
.logo_item:nth-child(7) img {
    height: 65px;             /* Keep these sleeker so they don't dominate */
    transform: scale(1);
}
/*=====================================================================
  BALANCED 60/40 FOOTER & INTERACTIVE MAP
=====================================================================*/

/*=====================================================================
  POWER FOOTER: PROPORTIONAL 60/40 SPLIT
=====================================================================*/

.footer_area {
    background: #0d0d0d;
    padding: 80px 0 50px 0; /* Tightened padding */
    color: #ffffff;
    border-top: 3px solid #faba00;
}

/* Vertical alignment of text and map */
.footer_inner_row {
    display: flex;
    align-items: center; 
}

.f_title h3 {
    color: #faba00;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer_contact_list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.footer_contact_list li {
    font-size: 14px;
    color: #bbbbbb;
    margin-bottom: 12px;
}

.footer_contact_list i {
    color: #faba00;
    margin-right: 12px;
}

/* --- The Visiting Card Button --- */
.vcard_btn {
    display: inline-block;
    background: transparent;
    color: #faba00;
    border: 1px solid #faba00;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.3s;
}

.vcard_btn:hover {
    background: #faba00;
    color: #000;
}

/* --- The Map: Stretched but Slim --- */
.footer_map_container {
    width: 100%;
    height: 350px; /* Reduced from 320px for better proportion */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    position: relative;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    margin-top: 10px;
}

/* Permanent architectural gray, color on hover */
.footer_map_container iframe {
    width: 101%;            /* Stretch slightly wider */
    height: calc(100% + 2px); /* Stretch slightly taller to cover top/bottom gaps */
    margin-top: -1px;       /* Nudge up to hide the top edge gap */
    margin-left: -1px;      /* Nudge left to hide the side edge gap */
    display: block;
    border: 0 !important;
    vertical-align: middle; /* Standard fix for inline-block gaps */
    
    /* Keep your existing style */
    filter: grayscale(1) contrast(1.2); 
    transition: all 0.5s ease;
}

.footer_map_container:hover iframe {
    filter: grayscale(0) contrast(1);
}

.mt-30{
    margin-top: 30px;
}

/* --- ZERO-INHERITANCE MOBILE HEADER --- */
@media (max-width: 991px) {
    /* Hide the broken template header */
    .header_area { display: none !important; }

    .ose-mobile-nav {
        background: #ffffff !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999999;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .ose-mobile-bar {
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    .ose-mobile-brand { display: flex; align-items: center; text-decoration: none; }
    .ose-mobile-brand img { max-width: 80px !important; margin-right: 10px; }
    .ose-mobile-brand span { color: #222; font-weight: 700; font-size: 15px; }

    .ose-menu-trigger { background: transparent; border: none; padding: 5px; }
    .ose-bar { display: block; width: 22px; height: 2px; background: #222; margin: 4px 0; }

    .ose-mobile-menu { background: #fff; border-top: 1px solid #eee; padding: 10px 0; }
    .ose-mobile-menu a { display: block; padding: 12px 25px; color: #222; font-weight: 500; text-decoration: none; border-bottom: 1px solid #f9f9f9; }

    /* Fix banner position */
    body { padding-top: 70px !important; }

    /* INCREASE PADDING TO PREVENT OVERLAP */
    .home_banner_area {
        height: auto !important; /* Allow it to grow with content */
        min-height: 100vh;      /* Keep it at least full screen */
        padding-bottom: 80px !important;
    }

    .home_banner_area .banner_inner {
        padding-top: 80px !important; /* Space for the new mobile header */
        padding-bottom: 100px !important; /* Extra space at the bottom for the floating service box */
    }

    /* Ensure the services section starts after the banner ends */
    .services_area {
        margin-top: 0 !important;
        padding-top: 60px !important;
    }

    /* 2. Fix the Services Grid positioning so it doesn't float over text */
    .specialized_services_grid {
        position: relative !important; /* Pulls it back into the normal flow */
        margin-top: -300px !important; /* Adjust this number to move the grid up/down */
        z-index: 10;
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 1. Force the container to be 2 columns instead of 4 */
    .fact_container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Forces 2 columns */
        gap: 20px 10px !important; /* Row gap and column gap */
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    /* 2. Ensure each item stays inside its 50% lane */
    .fact_item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        padding: 10px 5px !important;
    }

    /* 3. Adjust font sizes so the "States" list doesn't push the box out */
    .fact_item h1 {
        font-size: 26px !important;
        margin-bottom: 5px !important;
    }

    .fact_item p {
        font-size: 11px !important;
        line-height: 1.3 !important;
        white-space: normal !important; /* Allows "Skilled Professionals" to wrap */
    }

    /* 4. Ensure the section expands to show the new second row */
    .key_facts_area {
        height: auto !important;
        padding: 50px 0 !important;
        overflow: visible !important;
    }
}

/* --- 3. DESKTOP LOGIC (992px and up) --- */
@media (min-width: 992px) {
    /* Hide the mobile nav ghosting on desktop */
    .ose-mobile-nav, .ose-mobile-bar { display: none !important; }

    /* Logo Size Control */
    .header_area .navbar-brand img.logo-top, 
    .header_area .navbar-brand img.logo-scroll {
        width: 80px !important;      
        max-width: 80px !important;
        height: auto !important;
    }

    /* Text Styling - BASE */
    .logo-text-top, .logo-text-scroll {
        font-size: 24px !important;  
        margin-left: 12px !important;
        white-space: nowrap;
        vertical-align: middle;
        font-weight: 900 !important;
    }

    /* TOP STATE (Transparent) */
    .header_area:not(.navbar_fixed) {
        background: transparent !important;
        position: absolute !important;
    }
    /* Make text WHITE at the top so it doesn't get ghosted */
    .header_area:not(.navbar_fixed) .logo-text-top { 
        color: #ffffff !important; 
        display: inline-block !important; 
    }
    .header_area:not(.navbar_fixed) .logo-text-scroll { display: none !important; }
    .header_area:not(.navbar_fixed) img.logo-top { display: inline-block !important; }
    .header_area:not(.navbar_fixed) img.logo-scroll { display: none !important; }

    /* SCROLLED STATE (White Background) */
    .header_area.navbar_fixed {
        position: fixed !important;
        background: #ffffff !important;
        box-shadow: 0px 3px 15px rgba(0,0,0,0.1) !important;
    }
    /* Make text BLACK on scroll so it's readable on white */
    .header_area.navbar_fixed .logo-text-scroll { 
        color: #222222 !important; 
        display: inline-block !important; 
    }
    .header_area.navbar_fixed .logo-text-top { display: none !important; }
    .header_area.navbar_fixed img.logo-top { display: none !important; }
    .header_area.navbar_fixed img.logo-scroll { display: inline-block !important; }

    /* Nav Link Colors for Transparent State */
    .header_area:not(.navbar_fixed) .navbar .nav .nav-item .nav-link {
        color: #ffffff !important;
    }
    /* Nav Link Colors for Scrolled State */
    .header_area.navbar_fixed .navbar .nav .nav-item .nav-link {
        color: #222222 !important;
    }
}

/* --- UNIVERSAL LOGO & SUBPAGE FIX --- */

/* 1. Ensure the logo is ALWAYS 80px on every page of the site */
.header_area .navbar-brand img {
    width: 80px !important;
    max-width: 80px !important;
    height: auto !important;
}

/* 2. Style for Subpages (Portfolio/Contact) where the background is always white */
body:not(.home) .header_area {
    background: #ffffff !important;
    position: fixed !important;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.1) !important;
}

/* 3. Ensure the correct Logo/Text shows on white-background subpages */
body:not(.home) .logo-top, 
body:not(.home) .logo-text-top { 
    display: none !important; 
}

body:not(.home) .logo-scroll, 
body:not(.home) .logo-text-scroll { 
    display: inline-block !important; 
    color: #222222 !important; 
}

/* 4. Ensure nav links are black on subpages */
/* FORCE DARK LINKS ON SUBPAGES */
body:not(.home) .header_area .navbar .nav .nav-item .nav-link {
    color: #222222 !important;
    text-shadow: none !important;
}

/* Ensure the logo text is also dark on subpages */
body:not(.home) .logo-text-scroll {
    color: #222222 !important;
    display: inline-block !important;
}

/* Hide the white-state text on subpages */
body:not(.home) .logo-text-top {
    display: none !important;
}

/* 3. Special fix for medium screens (Tablets) to do 2x2 */
@media (min-width: 576px) and (max-width: 991px) {
    .key_facts_area [class*="col-"], 
    .stats_inner [class*="col-"] {
        flex: 0 0 50% !important; 
        max-width: 50% !important;
    }
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

/* UNIFY ALL SECTION HEADINGS */
.portfolio_area h2, 
.upcoming_projects_area h2, 
.integrity_area h2,
.projects_area h2 {
    color: #222222 !important; /* Forces the deep black */
    font-size: 36px !important;  /* Matches your main heading size */
    font-weight: 700 !important; /* Makes them bold */
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Fix for the sub-text/descriptions under those headings */
.portfolio_area p, 
.upcoming_projects_area p, 
.integrity_area p {
    color: #777777 !important;
    font-size: 16px !important;
}

/* Mobile Heading Adjustment */
@media (max-width: 991px) {
    .portfolio_area h2, 
    .upcoming_projects_area h2, 
    .integrity_area h2 {
        font-size: 28px !important; /* Slightly smaller for mobile screens */
    }
}

/* --- OUR PAST PROJECTS: 2-COLUMN MOBILE GRID --- */
@media (max-width: 768px) {
    /* 1. Change the grid from 1 column to 2 */
    .projects_area .project_grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Forces 2 columns side-by-side */
        gap: 12px !important; /* Spacing between cards */
        padding: 0 10px !important;
    }

    /* 2. Reset card widths to fit the new grid lanes */
    .projects_area .project_card {
        width: 100% !important;
        margin-bottom: 0 !important; /* Gap handled by the grid-gap above */
    }

    /* 3. Adjust image height so they are uniform */
    .projects_area .project_thumbnail {
        height: 140px !important;
        object-fit: cover !important;
        width: 100% !important;
    }

    /* 4. Shrink text to fit the smaller cards */
    .projects_area .project_info h3 {
        font-size: 13px !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Wraps long titles to 2 lines then clips */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .projects_area .project_info p {
        font-size: 11px !important;
        margin: 0 !important;
    }
    
    /* 5. Make the "View Details" overlay text readable on small screens */
    .projects_area .project_overlay span {
        font-size: 10px !important;
        padding: 5px 10px !important;
    }
}
/* --- PROJECT MODAL DEPTH FIX --- */
#projectModal {
    z-index: 9999 !important; /* Forces the modal to stay above the fixed navbar */
    padding-top: 80px !important; /* Adds space so the close button isn't cramped at the top */
}

/* Ensure the close button is visible and clickable */
.close_btn, .project_modal .close {
    z-index: 10000 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: #faba00 !important; /* Gold background to make it stand out */
    color: #fff !important;
    padding: 10px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

/* --- 1. HIDE ON DESKTOP --- */
.banner_logo_mid {
    display: none !important;
}

/* --- 2. CLEANED MOBILE MASTER BLOCK (991px and below) --- */
@media (max-width: 991px) {
    /* --- REPLACEMENT DEBUG CODE --- */

    nav.ose-mobile-nav {
        position: fixed !important;
        top: 0;
        width: 100%;
        z-index: 10003 !important;
        background: #fff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Target with full path to force the phone to listen */
    nav.ose-mobile-nav a.ose-mobile-brand img {
        height: 25px !important; /* Made tiny to be obvious */
        width: auto !important;
        display: inline-block !important;
    }

    nav.ose-mobile-nav a.ose-mobile-brand span {
        font-size: 10px !important; /* Made tiny to be obvious */
        font-weight: 900 !important;
        color: #ff0000 !important; /* RED TEST: If it's not red, your phone is ignoring the CSS file */
        text-transform: uppercase !important;
    }

    /* HAMBURGER MENU & ANIMATION */
    .hamburger-container {
        width: 32px !important;
        height: 22px !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .hamburger-container span {
        height: 4px !important;
        background: #000 !important;
        transition: 0.3s ease-in-out;
        border-radius: 9px;
    }

    .hamburger-container.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger-container.open span:nth-child(2) { opacity: 0; }
    .hamburger-container.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* BANNER & LOGO POSITIONING */
    .home_banner_area {
        height: auto !important;
        min-height: 500px !important;
        padding-top: 120px !important; /* Buffer for fixed nav */
    }

    .home_banner_area .banner_inner {
        display: block !important;
        width: 100% !important;
    }

    .banner_logo_mid {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center !important;
        width: 100% !important;
        margin: -170px auto 30px auto !important; /* Pulls logo up */
        position: relative !important;
        z-index: 5 !important;
    }

    .banner_logo_mid img {
        width: 180px !important;
        height: auto !important;
        display: inline-block !important;
    }
}
@media (max-width: 991px) {
    /* Use 'nav' and 'a' tags to make the selector stronger than any other rule */
    nav.ose-mobile-nav a.ose-mobile-brand img {
        height: 38px !important; 
        width: auto !important;
    }

    nav.ose-mobile-nav a.ose-mobile-brand span {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #000 !important;
        display: inline-block !important;
    }
}
/* --- GLOBAL NAVBAR ACTIVE STATE FIX --- */
/* This targets the actual 'a' tag to ensure the yellow always wins */
.header_area .navbar .nav .nav-item.active a.nav-link,
.header_area .navbar .nav .nav-item:hover a.nav-link {
    color: #faba00 !important;
    font-weight: 700 !important;
    background: transparent !important;
}